﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Passwords.Services
{
    public static class BackupUtils
    {
        public static bool EqualsPassword(byte[] a, byte[] b)
        {
            if (a == null || b == null) return false;
            if (a.Length != b.Length) return false;
            for (int i = 0; i < a.Length; i++)
            {
                if (a[i] != b[i]) return false;
            }
            return true;
        }
    }
}
